
package bean;

import java.util.LinkedList;
import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebService;
import Entity.Entity;
import java.util.ArrayList;


@WebService()
public class InfoCustomer {

    @WebMethod(operationName = "Personal")
    public List<Entity> loadInfo() {
        //Tao List co kieu du lieu la Entity
        List<Entity> customerList = new ArrayList<Entity>();
        //Khai bao de su dung lop Entity
        Entity a = new Entity();
        //Set gia tri cho tung field
        a.setAge("22");
        a.setName("Thaodd");
        a.setAddress("Ha noi");
        customerList.add(a);
        
        return customerList;
    }

}
